package net.uhuijia.goods.goodspu.service;

import net.uhuijia.vo.good.GoodDetailVo;
import net.uhuijia.vo.good.GoodSkuDetailVo;
import net.uhuijia.vo.good.GoodZBListVo;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import net.uhuijia.appbase.service.BaseService;
import net.uhuijia.goods.goodspu.persistence.model.GoodSpu;
import net.uhuijia.goods.goodspu.persistence.model.GoodSpuExample;


@Service
@Transactional
public interface GoodSpuService
     extends BaseService<GoodSpu,GoodSpuExample> {

    /**
     * 将GoodSpu 转换成直播右侧商品列表信息 GoodZBListVo
     * @param spuId
     * @return
     */
    GoodZBListVo goodSpuWrapToGoodZBListVo(String spuId);
    /**
     * @Author xzj
     * @Description //商品属性规格弹窗数据
     * @Date  2018/10/6
     * @Param
     * @return
     **/
    GoodSkuDetailVo getGoodSkuDetail(String spuId);
    /**
     * @Author xzj
     * @Description //商品详情
     * @Date  2018/10/6
     * @Param
     * @return
     **/
    GoodDetailVo getGoodDetail(String spuId);
}